/*Formatierung About Me Seite*/
body {
    margin: 0; /*Außenabstand*/
    padding: 0; /*innenabstand*/
    background-color: #b08968;
  }

  /*Formatierung Navigationsleiste*/
.navigation {
  border-radius: 4em 4em 4em 4em; /*Border Einstellungen von Transform Generator*/
-webkit-border-radius: 4em 4em 4em 4em;
-moz-border-radius: 4em 4em 4em 4em;
border: 0.5em double #DDB892;
height: 5em;
display: flex; /*Flexbox*/
background-color: #774923;
align-items: center;
justify-content:  space-around; /*Abstand der Elemente entlang der Hauptachse, gleichmäßiger Abstand zwischen den Verlinkungen*/
}

/* allgemeine Formatierung der Liste*/
.navigation li {
list-style-type: none; /*keine Dekoration, wie Aufzählungszeichen*/
}

/*Formatierung der einzelnen Verlinkungen*/
.navigation a {
padding: 15px;
display: inline-block;
color: #ede0d4;
text-decoration: none; /*keine Dekoration, wie Aufzählungszeichen*/
transition: outline 1s ease 0s;
font-size: 2em;
font-family: 'Times New Roman', Times, serif; 

}

/*Formatierungen der Verlinkungen bei Hovereffekt*/
.navigation a:hover, #akt_tab {
outline: 0;
border-radius: 2em 2em 2em 2em; /*Border Einstellungen von Transform Generator*/
-webkit-border-radius: 2em 2em 2em 2em;
-moz-border-radius: 2em 2em 2em 2em;
background-color: #DDB892;
}

nav a.active {
  outline: 0;
  border-radius: 2em 2em 2em 2em; /*Border Einstellungen von Transform Generator*/
  -webkit-border-radius: 2em 2em 2em 2em;
  -moz-border-radius: 2em 2em 2em 2em;
  background-color: #DDB892; /* Aktive Seite markieren */
  }

/*Formatierung Logo*/
.logo {
  -webkit-animation: rotate-vert-center 2s linear infinite both; /*Animation von Animista*/
	        animation: rotate-vert-center 2s linear infinite both;
}

@keyframes rotate-vert-center { /*Animation von Animista*/
  0% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
  }
  100% {
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  }
}

  .überschrift{
    font-family: Cormorant Garamond; /*Schriftart von Google Fonts eingebunden*/
    font-size: 10em;
    color: #ede0d4;
  }

  .ü1 {
    display: flex;
    position: absolute;
    left: 9vw;
    top: 20vh;
  }

  .ü2 {
    display: flex;
    position: absolute;
    right: 9vw;
    top: 50vh;
  }

  .welle {
    display: flex;
    position: absolute;
    top: 82vh;
    left: 15vw;
  }

  .welle img{
    width: 80em;
  }

.bild {
  display: flex;
  position: absolute;
  top: 20vh;
  right: 40vw;
  height: 30em;
  overflow: hidden; /*verstecken alles was über diese Werte geht*/
  border-radius: 200px 200px 12px 12px;
-webkit-border-radius: 200px 200px 12px 12px;
-moz-border-radius: 200px 200px 12px 12px;
border: 0.5em solid #774923;
}

/*Formatierung einer Art Mindmap*/
  /*Haupt Wrapper zur Positionierung der Elemente*/
  .wrapper {
    position: relative;
    width: 50vw;
    height: 80vh;
    margin: 55em auto 0em auto; /*zentriert den Wrapper horizontal*/
  }

  /*Eckboxen mit Bild und Beschreibung*/
  .eckbox {
    position: absolute;
    width: 11vw;
    height: 25vh;
    background: #DDB892;
    border-radius: 16px;
    text-align: center;
    box-shadow: 2px 4px 6px rgba(0,0,0,0.15); /*leichter Schatten*/
    z-index: 2;
    overflow: hidden;
    transform: scale(0.9); /*für den Hoovereffekt*/
    transition: transform 0.3s ease, box-shadow 0.3s ease; /*für einen angenehmen Hovereffekt*/
  }

  /*Eckboxen Hover*/
  .eckbox:hover {
    transform: scale(1); /*Vergrößerung bei Hover*/
  }

  /*Bilder in den Eckboxen*/
  .eckbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  
/*Formatierungen des Projektes 4 mit Flipeffekt*/
.card-wrapper {
    display: flex;
    justify-content: center;
  }
  
  .card-container {
    perspective: 1000px;
  }
  
  .card {
    width: 13em;
    height: 13em;
    transform-style: preserve-3d;
    transition: transform 0.8s;
  }
  
  /*Hovereffekt*/
  .card:hover {
    transform: rotateY(180deg);
  }
  
  .card-face {
    position: absolute;
    backface-visibility: hidden;
    margin-top: 3em;
  }
  
  /*Formatierung der Rückseite*/
  .back {
    transform: rotateY(180deg);
  }

  /*Positionierung der einzelnen Eckboxen*/
  .top-left { top: 4vh; left: 2.3vw; }
  .top-right { top: 4vh; right: -0.5vw; }
  .bottom-left { bottom: 4vh; left: 2.3vw; }
  .bottom-right { bottom: 4vh; right: -0.5vw; }

  /*Mittige Box mit eingebetteter Google Maps Karte*/
  .mitte {
    position: absolute;
    top: 48%;
    left: 53%;
    transform: translate(-50%, -50%);
    width: 23em;
    height: 23em;
    background: #DDB892;
    border-radius: 20px;
    overflow: hidden;
    z-index: 3;
    
    transition: transform 0.4s ease;
  }

  /*Hovereffekt der mittigen Box*/
  .mitte:hover {
    transform: translate(-50%, -50%) scale(1.05);
  }

  /*Formatierung der Karte*/
  iframe {
    width: 100%; /*nimmt die gesamte Box ein*/
    height: 100%;
    border: none;
  }

  /*Box Formatierung*/
  .box {
    position: absolute;
    left: 26.5vw;
    transform: translateX(-50%);
    background: #7F5539;
    padding: 2vh 5vw;
    color: #ede0d4;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 2px 4px 6px rgba(0,0,0,0.15); /*leichter Schatten*/;
    z-index: 4;
    top: 61.5vh;
    transition: transform 0.3s ease;
    letter-spacing: 0.1em;
  }

  /*Box Hovereffekt*/
  .box:hover {
    transform: translateX(-50%) scale(1.05);
  }

  /*Formatierung SVG Linienrahmen mit Hilfe eines Tutorials erstellt*/
  svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /*liegt hinter den Eckboxen*/
  }

  /*zurück-nach-oben-Button Formatierung*/
  .zurück-nach-oben {
    position: fixed;
    bottom: 2vh;
    right: 1vw;
    width: 3em;
    height: 3em;
    background-color: #774923;
    color: #ede0d4;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

    /*zurück-nach-oben-Button Hoverformatierung*/
    .zurück-nach-oben:hover {
        background-color: #DDB892;
      }
    
      /*angenehmes nach oben scrollen*/
      html {
        scroll-behavior: smooth;
      }
    
/* Footer Formatierung */
footer {
  display: flex;
  position: absolute;
  top: 210vh;
  font-family: Cormorant Garamond;
  font-size: 1em;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  color: #ede0d4;
  background-color: #774923;
  height: 4em;
  border: 0.5em double #DDB892;
  width: 99.2%;
  border-radius: 4em 4em 4em 4em;
}

footer a {
  color: #ede0d4;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


/*Media Queries für verschiedene Bildschirmgrößen*/

/*Für kleine Geräte (Handys)*/
@media (max-width: 480px) {
    .überschrift {
      font-size: 3em;
      text-align: center;
    }
  
    .ü1, .ü2, .welle {
      position: static;
      justify-content: center;
      text-align: center;
    }
  
    .welle img {
      width: 23em;
    }
  
    .bild {
      position: static;
      height: 15em;
      margin: 1em auto;
      display: block;
    }
  
    .wrapper {
      width: 90vw;
      height: auto;
      margin-top: 5em;
    }
  
    .eckbox {
      width: 40vw;
      height: 20vh;
      position: static;
      margin: 1em auto;
    }
  
    .mitte {
      width: 90%;
      height: 15em;
      position: static;
      margin: 1em auto;
      transform: none;
    }
  
    .box {
      margin: 1em auto;
      transform: none;
      text-align: center;
      visibility: hidden;
    }
  
    svg {
      visibility: hidden;
    }
  
    .zurück-nach-oben {
      width: 2.5em;
      height: 2.5em;
      font-size: 1.2em;
    }
  
    footer {
      position: relative;
      top: auto;
      width: 100%;
    }

    .navigation {
      flex-direction: column;
      align-items: center;
      height: auto;
      border-radius: 2em;
      padding: 0.5em;
    }
  
    .navigation a {
      font-size: 1.2em;
      padding: 0.5em;
    }
  }
  
  /*Für größere Smartphones*/
  @media (max-width: 768px) {
    .überschrift {
      font-size: 4.5em;
      text-align: center;
    }
  
    .bild {
      height: 18em;
      position: static;
      margin: 1em auto;
      display: block;
    }
  
    .wrapper {
      width: 90vw;
      height: auto;
      margin-top: 6em;
    }
  
    .eckbox {
      width: 35vw;
      height: 20vh;
      margin: 1em auto;
      position: static;
    }
  
    .mitte {
      width: 90%;
      height: 20em;
      position: static;
      margin: 1em auto;
      transform: none;
    }
  
    .box {
      margin: 1em auto;
      transform: none;
      text-align: center;
      visibility: hidden;
    }
  
    svg {
      visibility: hidden;
    }
  
    footer {
      position: relative;
      top: auto;
      width: 100%;
    }

    .navigation {
      flex-direction: column;
      align-items: center;
      height: auto;
      padding: 1em;
    }
  
    .navigation a {
      font-size: 1.5em;
      padding: 0.5em;
    }
  }
  
  /*Für Tablets*/
  @media (max-width: 1024px) {
    .überschrift {
      font-size: 6em;
    }
  
    .bild {
      height: 22em;
      right: auto;
      margin: auto;
      position: static;
    }
  
    .wrapper {
      width: 80vw;
      height: auto;
    }
  
    .eckbox {
      width: 30vw;
      height: 20vh;
    }
  
    .mitte {
      width: 80%;
      height: 20em;
    }
  
    .box {
      left: 50%;
      transform: translateX(-50%);
    }
  
    svg {
      display: none;
    }
  
    footer {
      top: auto;
      position: relative;
      width: 100%;
    }
  }
  
  /*Für größere Tablets/Laptops*/
  @media (max-width: 1200px) {
    .überschrift {
      font-size: 7em;
    }
  
    .bild {
      height: 26em;
    }
  
    .wrapper {
      width: 70vw;
      height: auto;
    }
  
    .eckbox {
      width: 20vw;
      height: 20vh;
    }
  
    .mitte {
      width: 70%;
      height: 22em;
    }
  
    .box {
      left: 50%;
      transform: translateX(-50%);
    }
  
    svg {
      display: block;
    }
  
    footer {
      top: auto;
      position: relative;
      width: 100%;
    }
  }
  